package com.org.service.sys;

import com.org.entity.base.PageRequest;
import com.org.entity.base.PageResult;
import com.org.entity.sys.SysDept;

import java.util.List;

public interface SysDepartmentService {

    int addSysDepartmentInfo(SysDept sysDept);

    int updateSysDepartmentInfo(SysDept sysDept);

    int delSysDepartmentInfo(String id);

    int delSysDepartmentList(String ids);

    SysDept getSysDepartmentInfo(String id);

    List<SysDept> getSysDepartmentList(String keyword);

    PageResult<SysDept> getSysDepartmentPageList(String keyword, PageRequest pageRequest);

    int updateSysDepartmentState(String id, int state);

}

